package JZ2_替换空格;

public class Solution {
    public String replaceSpace (String s) {
        // write code here
        return s.replace(" ", "%20");
    }

    public static void main(String[] args) {
        String s = "We Are Happy";
        Solution solution = new Solution();
        System.out.println(solution.replaceSpace(s));
    }
}
